package com.framework.loippi.entity;

import com.framework.loippi.mybatis.eitity.GenericEntity;
import com.framework.loippi.mybatis.ext.annotation.Column;
import com.framework.loippi.mybatis.ext.annotation.Table;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Entity - 商品审核记录表
 * 
 * @author wmj
 * @version 2.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "T_AUDIT_RECORD")
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties({ "handler","hibernateLazyInitializer" }) 
@ApiModel(value="商品审核记录表",description="商品审核记录表")
public class AuditRecord implements GenericEntity {

	private static final long serialVersionUID = 5081846432919091193L;

	/** ID */
	@Column(id = true, name = "id", updatable = false)
	@ApiModelProperty(value = "ID")
	private Long id;
	
	/** 商品ID */
	@Column(name = "goods_id" )
	@ApiModelProperty(value = "商品ID")
	private Long goodsId;
	
	/** 审核人员 */
	@Column(name = "user_name" )
	@ApiModelProperty(value = "审核人员")
	private String userName;
	
	/** 审核结果 1-通过 2-不通过 */
	@Column(name = "status" )
	@ApiModelProperty(value = "审核结果 1-通过 2-不通过")
	private Integer status;
	
	/** 审核描述 */
	@Column(name = "audit_describe" )
	@ApiModelProperty(value = "审核描述")
	private String auditDescribe;
	
	/** 反馈详情 */
	@Column(name = "feedback_details" )
	@ApiModelProperty(value = "反馈详情")
	private String feedbackDetails;
	
	/** 审核时间 */
	@Column(name = "create_time" )
	@ApiModelProperty(value = "审核时间")
	private java.util.Date createTime;
	
}
